package com.auth.manager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @version 1.0.0
 * @Date: 2022/4/26 18:20
 * @Author ZhuYouBin
 * @Description 启动类
 */
// 指定mybatis对应的mapper接口包路径
@MapperScan(basePackages = {"com.auth.manager.mapper.*"})
// 组件扫描包路径,默认是当前类所在包及其子包
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(Application.class, args);
        System.out.println(run);
    }
}
